package course.experiment2.num3;

public class Test05 {
    public static void main(String[] args) {//main
        Animal a = new Animal();
        Rabbit r = new  Rabbit();
        Tiger t = new  Tiger();
        a.eat();
        a.sleep();
        r.eat();
        r.sleep();
        t.eat();
        t.sleep();
    }
}